package gdma.hqdes.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import gdma.hqdes.bean.HqdIndex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;

@Mapper
public interface HqdIndexMapper extends BaseMapper<HqdIndex> {

    @Select("select i.* from hqd_index i where i.ver_id=#{verId}")
    List<HqdIndex> selectByVerId(long verId);

    List<Object[]> getVerIdCodeIdMapping(Collection<Integer> verIds);

}
